package io.renren.modules.app.service.impl;

import io.renren.modules.app.service.DayEndSettleNotifyService;
import io.renren.modules.app.service.DayEndSettleService;
import io.renren.modules.app.service.QuartzDayEndSettleNotifyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class QuartzDayEndSettleNotifyServiceImpl implements QuartzDayEndSettleNotifyService {

    @Autowired
    private DayEndSettleNotifyService dayEndSettleNotifyService;

    /**
     * 每日定时执行回调同步更新任务
     * 暂定,每10秒钟 执行1次
     */
    @Override
    public void execute() {
        dayEndSettleNotifyService.dayOfEndSettle();
    }

}
